﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using HFController;
namespace HFWebApp.lawyeruser
{
    public partial class lc_jobList : BagePages
    {
        public string PageString = "";
        protected void Page_Load(object sender, EventArgs e)
        {
            this.checkLawyerIsLogin();
            if (!Page.IsPostBack)
            {
                int PageSize = 10;
                int PageNumber = 1;
                if (this.GetQuery("Page") != "")
                {
                    PageNumber = int.Parse(this.GetQuery("Page"));
                }
                int total = 0;
                string strWhere = "LaywerID=" + this.getLoginLawyer().ID.ToString();
                Repeater1.DataSource = JobsController.getController().getRecruitmentList(PageSize, PageNumber, strWhere, out total);
                Repeater1.DataBind();
                PageString = LLL.Pager.TrunPageHtmlCode_Web(PageSize, PageNumber, total, "");
            }
        }
    }
}